<!--********************* Part1:Jsp Head *********************-->

<%@ page contentType="text/html;charset=UTF-8"%>  
<%@ include file="/framework/head.jsp"%>

<!--********************* Part2:Java Code *********************-->
<%
	BbsPageData obj = (BbsPageData)context.getValue("BbsPageData");
%>

<!--********************* Part3:JavaScript Code ***************-->
<script language="javascript">

var g_check_items = new Array();
var g_i = 0 ;

g_check_items[g_i++] = new CheckItem("主题","Subject",true,true,100,false,0);

g_check_items[g_i++] = new CheckItem("内容","Content",true,true,2000,false,0);

function doSave()
{
	if(!CheckInput(g_check_items)) return false;
	SetAction("saveBbs");
	frm.submit();
}
function doCancel()
{
	SetAction("backListBbs");
	frm.submit();
}

key_InitDefault();
key_RegSubmitHandler(doSave);
</script>

<%=uiBody%>>

<!--********************* Part4:Form  ***************-->

<form id=frm action="<%=Config.getSrv()%>" method="post">
<input type=hidden name="action_code">

<input type=hidden name="Id" value="<%=obj.getId()%>">
<input type=hidden name="RelId" value="<%=obj.getId()%>">


<%=UIManager.addEditHeadTitle("发表反馈和建议")%>


<!--********************* Part5:Edit Area  ***************-->
<%=uiEditStart%>>
<%
	int key_tab = 1 ;
%>
<%=uiEditTR %>>
	<%=uiEditTD %> align="right" width="25%"><font color="red">*</font>主题：</td>
	<%=uiEditTD %>><input class="texts" type="text" name="Subject" size="80"></td>
</tr>
<%=uiEditTR %>>
	<%=uiEditTD %> align="right" width="25%"><font color="red">*</font>内容：</td>
	<%=uiEditTD %>><textarea name="Content" rows="12" cols="80"></textarea></td>
</tr>
<%=uiEditEnd%>

<!--********************* Part6:Action Area  ***************-->
<%=uiCommandStart%>>
	<%=uiCommandTR%>>
   		<%=uiCommandTD%>>                     
			<input type=button class="buttons" value="    保存   " onclick="doSave();return false;">
			<input type=button class="buttons" value="    返回   " onclick="doCancel();return false;">
		</td>
	</tr>
<%=uiCommandEnd%>
</form>

<%@ include file="/framework/foot.jsp"%>

<!--
	Author    :wangp
	FileName  :/system/base//D:\\APEP3\\JavaSourceOutput\BbsEdit.jsp
-->
